import request from '@/utils/request'

// 查询支付列表
export function listPay(query) {
  return request({
    url: '/pay/list',
    method: 'get',
    params: query
  })
}

// 进行退款
export function refund(id) {
  return request({
    url: '/order/' + id,
    method: 'get'
  })
}
